package com.power.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.PageHelper;
import com.power.model.mdao.LogMapper;
import com.power.model.pojo.Log;

@Service
public class LogService {
	@Autowired
	LogMapper mapper;
	List<Log> list;
	public List<Log> selectByUid(Integer uid,Integer pageNum,Integer pageSize){
		PageHelper.startPage(pageNum, pageSize);
		list=mapper.selectByUid(uid);
		return list;
	}
}
